package com.leo.quartz.common.response.task;

import com.alibaba.fastjson.annotation.JSONField;
import com.leo.quartz.common.lang.RunStatusEnum;
import com.leo.quartz.entity.QuartzJobPO;

import java.util.Date;

/**
 * JobVO
 *
 * @author liusl
 * @version 1.0
 * @date 2018/12/8 17:20
 */
public class MyJobVO {

    private Long id;
    private String jobName;
    private String jobGroup;
    private String jobDesc;
    private String jobClass;
    private QuartzJobPO.JobStatusEnum jobStatus;
    @JSONField(format="MM-dd-yyyy")
    private Date updateTime;
    @JSONField(format="MM-dd-yyyy")
    private Date createTime;
    private RunStatusEnum runStatusEnum;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getJobDesc() {
        return jobDesc;
    }

    public void setJobDesc(String jobDesc) {
        this.jobDesc = jobDesc;
    }

    public String getJobClass() {
        return jobClass;
    }

    public void setJobClass(String jobClass) {
        this.jobClass = jobClass;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public QuartzJobPO.JobStatusEnum getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(QuartzJobPO.JobStatusEnum jobStatus) {
        this.jobStatus = jobStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public RunStatusEnum getRunStatusEnum() {
        return runStatusEnum;
    }

    public void setRunStatusEnum(RunStatusEnum runStatusEnum) {
        this.runStatusEnum = runStatusEnum;
    }
}
